
for file in `ls *.txt`
do
		dos2unix.exe $file  &> err
		line=`cat err | grep "line" | cut -d " " -f 8`	
		echo $line;
		if [ -z $line ] 
		then
			echo $file >> success.log
			mv $file ../converting
			echo "-----  $file  -----success" ;
			break;
		else
			mv $file ../symbol
			echo "-----  $file  -----fail" ;
		fi
done


